ExamPlay Light Logo
Oturum aç

Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 9 - No. 5)

In the linear search example, what does the 'Found' flag help to achieve?
Increase efficiency by skipping parts of the search.
Indicate if the target item was located within the list.
Determine the position of the target item.
Stop the search after finding a match.

Açıklama

The 'Found' variable indicates whether the search was successful.

Yorumlar (0)

Yorum yapmak için giriş yapın
Reklamcılık
BrainBehindX Inc Logo
©2026; Tarafından desteklenmektedir BrainBehindX Inc